package com.example.democourse.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

/**
 * (CourseType)表实体类
 *
 * @author makejava
 * @since 2023-01-23 20:01:10
 */
@SuppressWarnings("serial")
public class CourseType extends Model<CourseType> {
    //课程类型id
    private Long id;
    //课程类型名
    private String courseType;
    //课程类型状态（1上，2下）
    private Integer status;
    //上下架时间
    private Date upDownDate;
    //创建时间
    private Date createDate;
    //更新时间
    private Date updateDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpDownDate() {
        return upDownDate;
    }

    public void setUpDownDate(Date upDownDate) {
        this.upDownDate = upDownDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

